package com.winhxd.b2c.common.domain.system.user.dto;

import com.winhxd.b2c.common.domain.system.user.vo.UserInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("系统管理用户编辑传输对象")
@Data
public class SysUserDTO {

    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "姓名")
    private String username;

    @ApiModelProperty(value = "手机")
    private String mobile;

    @ApiModelProperty(value = "状态（0：未启用，1：启用）")
    private Short status;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "角色编号")
    private Long roleId;

    @ApiModelProperty(value = "区域编码")
    private String regionCode;

    @ApiModelProperty(value = "部门id")
    private Long orgId;

    // 会员等级 0:会员 1:一级分销商 2:二级分销商 3:原译会员
    @ApiModelProperty(value = "等级")
    private Integer level;

    @ApiModelProperty(value = "主要用于分销商隶属于哪个员工")
    private Long parentId;

    @ApiModelProperty(value = "修改人信息")
    private UserInfo userInfo;


}